Skip to content

Update supported Python versions - #358

Open
nateprewitt wants to merge 1 commit into
jmespath:developfrom
nateprewitt:free_threading
Open

Update supported Python versions#358
nateprewitt wants to merge 1 commit into
jmespath:developfrom
nateprewitt:free_threading

Conversation

@nateprewitt

@nateprewitt nateprewitt commented May 8, 2026

Copy link
Copy Markdown
Contributor

This PR adds testing for Python 3.14t (free threaded build), Python 3.15 which entered beta yesterday, and drops support for Python 3.9 now that it's been dropped from Boto3/Botocore.

@kytta kytta left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this PR was submitted, 3.15 rc1 came out, which means stable ABI and full feature freeze. I believe we can repurpose this PR to full on add (and explicitly declare) support for Python 3.15

note: I am a passing-by reviewer, not a maintainer

matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.14t", "3.15-dev"]

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: Also test on 3.15t

Suggested change
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.14t", "3.15-dev"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.14t", "3.15-dev", "3.15t-dev"]

Comment thread setup.py
@@ -32,5 +32,6 @@
'Programming Language :: Python :: 3.14',

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: Also add 3.15 to the classifiers

Suggested change
'Programming Language :: Python :: 3.14',
'Programming Language :: Python :: 3.14',
'Programming Language :: Python :: 3.15',

Comment on lines 16 to 23
@@ -23,8 +23,7 @@ jobs:
python-version: ${{ matrix.python-version }}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: Do not use -dev versions

When 3.15 officially comes out, we will have to adjust the workflow file again. A better approach would to allow prereleases in setup-python. If at least one stable version exists, it will not search for prereleases, meaning it will pull rc0 only for 3.15 until October, and stable 3.15 after Oct 1st.

Suggested change
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.14t", "3.15", "3.15t"]
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants